﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Katamino.Model.Logic
{
    // TODO: check if can be replaced by BaseKatamino[] only
    public class KataminoSet
    {
        public static BaseKatamino[] Kataminos { get; set; }
        internal static BaseKatamino[] CreateKataminoSetForBoardDefinition(BoardDefinition boardDefinition)
        {
            KataminoSet.Kataminos = new BaseKatamino[12];
            Kataminos[ 0] = new BaseKataminoA(boardDefinition);
            Kataminos[ 1] = new BaseKataminoB(boardDefinition);
            Kataminos[ 2] = new BaseKataminoC(boardDefinition);
            Kataminos[ 3] = new BaseKataminoD(boardDefinition);
            Kataminos[ 4] = new BaseKataminoE(boardDefinition);
            Kataminos[ 5] = new BaseKataminoF(boardDefinition);
            Kataminos[ 6] = new BaseKataminoG(boardDefinition);
            Kataminos[ 7] = new BaseKataminoH(boardDefinition);
            Kataminos[ 8] = new BaseKataminoI(boardDefinition);
            Kataminos[ 9] = new BaseKataminoJ(boardDefinition);
            Kataminos[10] = new BaseKataminoK(boardDefinition);
            Kataminos[11] = new BaseKataminoL(boardDefinition);


            return Kataminos;
        }
    }
}
